import request from '@/utils/request'

// 查询器具操作记录列表
export function listOperationLog(query) {
  return request({
    url: '/pack/container/operation/list',
    method: 'get',
    params: query
  })
}

// 查询器具移库记录列表
export function listTransferRecord(query) {
  return request({
    url: '/pack/container/transfer/list',
    method: 'get',
    params: query
  })
}

// 查询器具定位日志列表
export function listLocationLog(query) {
  return request({
    url: '/pack/container/location/list',
    method: 'get',
    params: query
  })
}

// 导出器具操作记录
export function exportOperationLog(query) {
  return request({
    url: '/pack/container/operation/export',
    method: 'post',
    data: query
  })
}

// 导出器具移库记录
export function exportTransferRecord(query) {
  return request({
    url: '/pack/container/transfer/export',
    method: 'post',
    data: query
  })
}

// 导出器具定位日志
export function exportLocationLog(query) {
  return request({
    url: '/pack/container/location/export',
    method: 'post',
    data: query
  })
}
